package com.hz.monitoring.module.hardware.convert.mcu_tenant_ype;

import com.hz.monitoring.framework.common.pojo.PageResult;
import com.hz.monitoring.module.hardware.controller.admin.mcu_tenant_type.vo.McuTenantTypeCreateReqVO;
import com.hz.monitoring.module.hardware.controller.admin.mcu_tenant_type.vo.McuTenantTypeExcelVO;
import com.hz.monitoring.module.hardware.controller.admin.mcu_tenant_type.vo.McuTenantTypeRespVO;
import com.hz.monitoring.module.hardware.controller.admin.mcu_tenant_type.vo.McuTenantTypeUpdateReqVO;
import com.hz.monitoring.module.hardware.dal.dataobject.mcu_tenant_type.McuTenantTypeDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * MCU租户分类 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface McuTenantTypeConvert {

    McuTenantTypeConvert INSTANCE = Mappers.getMapper(McuTenantTypeConvert.class);

    McuTenantTypeDO convert(McuTenantTypeCreateReqVO bean);

    List<McuTenantTypeDO> convert(List<McuTenantTypeCreateReqVO> list);

    McuTenantTypeDO convert(McuTenantTypeUpdateReqVO bean);

    McuTenantTypeRespVO convert(McuTenantTypeDO bean);

    List<McuTenantTypeRespVO> convertList(List<McuTenantTypeDO> list);

    PageResult<McuTenantTypeRespVO> convertPage(PageResult<McuTenantTypeDO> page);

    List<McuTenantTypeExcelVO> convertList02(List<McuTenantTypeDO> list);

}
